Finished file upload functionality