Rmse source with input and output files