Create check_file