guessFileType