Fix files problems