Write File

Added in file writing. Does not function.