working towards uploading a file