Initial support for file replacement