FIX cot_file_check()