rename writer and reader to file writer and reader