rename filename reformat method as it's used for open as well as save