check file.