Implemented a (sort of working) file upload