def read_all(names, path):
    """
    Read SDFs and return lines
    Args:
        names: all filenames
        path: path to filenames

    Returns: file lines in a list

    """
    raw_sdf = []
    for file in names:
        with open(path + file, "r") as f:
            raw_sdf.append(f.read().splitlines())
    return raw_sdf