BISERVER-8856

Added replace functionality and fixed bug with file explorer