change output message to openFile