Programming assignment 3 files