support "lang" option with "file"