setup default input method in file-find-hook