sends to data file and reads from file