comment out checking file type