Refactor doOpenFile methods’ names.