Adding the basic functionality to upload files