delete unnecessary code from Window#application:openFiles