def get_users(f_path):
    """
    Getting user name and password hash from file
    """
    out = {}
    with open(f_path) as file:
        for d in file:
            h = d.split(':')[1]
            if h != '*':
                u =  str(d.split(':')[0]).strip()
                if len(u) > 0:
                    out[u] = h

        return out