def clean(filenames_list):
    """ removes hidden files (starting with .) from a list of filenames """
    result = []
    for l in filenames_list:
        if l[0] != '.':
            result.append(l)
    return result