added ability to create files from server