Extract information about spatial resources from all environment files in
    a list.

    Arguments:
    names - a list of strings representing the paths to the environment files.
    world_size - a tuple representing the x and y coordinates of the world.
                 (default: 60x60)

    Returns a dictionary in which the keys are filenames and the values are
    list of lists of sets indicating the set of resources
    available at each x,y location in the Avida grid for that environment.

def parse_environment_file_list(names, world_size=(60, 60)):
    """
    Extract information about spatial resources from all environment files in
    a list.

    Arguments:
    names - a list of strings representing the paths to the environment files.
    world_size - a tuple representing the x and y coordinates of the world.
                 (default: 60x60)

    Returns a dictionary in which the keys are filenames and the values are
    list of lists of sets indicating the set of resources
    available at each x,y location in the Avida grid for that environment.
    """

    # Convert single file to list if necessary
    try:
        names[0] = names[0]
    except:
        names = [names]

    envs = []
    for name in names:
        envs.append(parse_environment_file(name, world_size))

    return envs