added a form to write to a file