(b) Complaints and any reports or findings relating to these complaints shall be retained for a period of at least five years.
All complaints retained pursuant to this subdivision may be maintained either in the peace or custodial officer's general personnel file or in a separate file designated by the department or agency as provided by department or agency policy, in accordance with all applicable requirements of law. However, prior to any official determination regarding promotion, transfer, or disciplinary action by an officer's employing department or agency, the complaints described by subdivision (c) shall be removed from the officer's general personnel file and placed in separate file designated by the department or agency, in accordance with all applicable requirements of law.