updated writer
now can read data from file and write to destination