replace files and folders