added writing file functionality
added back README.md