Resolving bug related to re-uploading a file.