fixed file opening for new display method