Added file upload functionality
Added handling for not uploading a file