add support and tests for uploading and saving regular files