init commit file upload functionality
finish up file upload