renamed check and input files