fixed minor bug

accidentally overrided the file type. the var name changed to f