Fix files mode