import glob


def open_files(inputDir, ext):
    """
    Open all files with the given path and extension
    Returns
    -------
    list
        A list of the files in the folder with the specified file extension. 
    """
    
    files =  glob.glob(inputDir + '/*' + ext)
    return files