corrected fileTypes type mismatch