Read/Write to file

simple program that reads from and writes to a file