def longest_word_len(filename):
    """ Find the length of the longest word  """
    with open(filename, 'r') as file_p:
        words = file_p.read().split()
    max_len = len(max(words, key=len))
    return max_len