open files just for reading