Add copy-or-write-file
Defalut file operation is copy-file