Completed File Writer class