File Handling Done

Finalized almost