added output data to file