Pergunta de entrevista da empresa NobleTek

given a file type a program to find out the largest word from it