opening files seems to work