* **Update:** Updated all the calls to FileReference.replaceWith() to use os independent path