def words(fpth):
    """
    ww = words(os.path.join(app_root, 'ig/helper.py'))
    for k, v in (ww.most_common(3)):
        print(k, v)

    :param fpth:
    :type fpth:
    :return:
    :rtype:
    """
    from collections import Counter
    words__ = Counter()
    with open(fpth) as fp:
        for line in fp:
            words__.update(line.strip().split(' '))
    return words__
