Finished implementing file upload