Added Data to file saving feature

data entered in form is saved to /document/test.doc