Reformatting, understanding, and implemented file upload to temp file.