def eval_globs(globs):
    'Accepts an array of glob patterns or file names, returns the array of actual files'
    all_files = []
    for g in globs:
        new_files = glob.glob(g)
        if (len(new_files) == 0):
            warn('{} did not match any files'.format(g))
        else:
            all_files.extend(new_files)
    return all_files
Accepts an array of glob patterns or file names, returns the array of actual files
def eval_globs(globs):
    
    all_files = []
    for g in globs:
        new_files = glob.glob(g)
        if (len(new_files) == 0):
            warn('{} did not match any files'.format(g))
        else:
            all_files.extend(new_files)
    return all_files