added new line to end of input files