Simple file upload function done for user profile picture uploading