[BUGFIX] When uploading an existing document, adding the original file to the file reference for immediate use.