Your employer is required to give you your paycheck within 72 hours of termination. Your employer would be required to immediately give you your check at the time of termination if you worked till 5:00 p.m., since you gave them two weeks notice, but since you left early (although completely understandably), your employer would have an additional three days.
Your employer is also responsible to include your accrued sick and vacation time since the beginning of the year in your final check.
Your employer cannot withhold your pay for any reason, including the alleged 'file' in your possession.
If your employer does so, it will be liable for your unpaid wages plus a day's worth of wages as penalties, per day you are required to wait to receive your wages.
If your employer is refusing to provide you with your wages, you should file a wage claim with the Department of Industrial Relations, Division of Labor Standards Enforcement.
You can file a wage claim using the information available online here:
I hope the above information is helpful.
Please let me know if you have any additional questions.
If not, please remember to rate my answer positively so I get credit for my work.
Thanks and best of luck!