file writeable

working on the ability to write to the file.