Added functionality to upload a file!