adding data dump to file