change method name of class OpenFile, becaue the name wasused by a function too