def ext_add_dot(ext):
    """
    |ext| will be added a heading dot if not already has one.
    """
    #/
    if ext.startswith('.'):
        dot_ext = ext
    else:
        dot_ext = '.' + ext

    #/
    return dot_ext