put the data right into the file