def extract_ccs_path(file_path):
    """Extracts and returns the ccs path from file path.

    Args:
        file_path (str): full path of file

    Returns:
        str: ccs path (contained in 'file_path')
    """
    file_path = file_path.replace('\\', '/')
    index = file_path.index('ccsv')
    end = file_path.index('/', index)

    ccs_path = file_path[:end]

    return ccs_path