def readCTDFile(CTDFile):
    """
    Read CTD File

    This file contains one column of chemical MeSH IDs or chemical names.
    A line can contain several MeSH or chemical names, separated by ";"

    :param str CTDFile: File path of the chemical name (or MeSH ID) list.

    :return:
        - **chemNameList** (*list*) – List of chemical names
    """
    chemNameList = []
    try:
        with open(CTDFile, 'r') as CTDFileHandler:
            for line in CTDFileHandler:
                chemNameList.append(line.rstrip())
        return chemNameList
    except IOError:
        print("I/O error while reading CTD file.")