replace files with working files