added the ability to upload a file, file still isn't saved to disk