more work on the file uploader