file opening fix references #85