check file and comments