cleaned up input files