Mimic: correct files mode