def readConfFile(fileName):
    """Reads a Kitti camera/velodyne configuration file.

    Name of the parameter and the data is separated by ':', i.e 'T: 0.0 0.0 0.0'.

    Parameters
    ----------
    fileName : str
            Name of the file to be read.

    Returns
    -------
    dictionary
            a dictionary containing the configuration data.
    """

    conf_dict = dict()
    try:
        with open(fileName) as f:
            for line in f:
                data = line.split(":")
                conf_dict[data[0]] = data[1]
        return conf_dict
    except Exception as e:
        raise