import glob


def getAllOfAFile(file_dir, ext):
    """
    Returns a list of all the files the direcotry with the specified file extenstion
    :param file_dir: Directory to search
    :param ext: The file extension (IE: ".py")
    """
    return glob.glob(file_dir+"/*"+ext)