check file