def loadOutputList(expt_name,outputType):
    """Loads a file containing all file names with a specified output data into a local list
    
    Args:
        expt_name (String): Name of experiment (which contains how many ever simulation output files)
        outputType (String): molpos or simtime. Determines which set of output filenames to load.
    
    Returns:
        TYPE: List
    """

    datalist = []
    if(outputType=='molpos'):
        path='data/'+expt_name+'/outputMolposList.txt'
    elif(outputType=='simtime'):
        path='data/'+expt_name+'/outputSimtimeList.txt'
    else:
        raise Exception('outputType required to be either \'molpos\' or \'simtime\'') 
    with open(path) as f:
        for outputfile in f:
            datalist.append("data/"+expt_name+"/"+outputfile.rstrip())
    return datalist