test file check