Fix bug with opening files