updated to remoteFilePath field for document processing