Added action for file replacement