Fix open files