CS246 Milestone - Basic File I/O