GUI to read and write files