def load_metadata_txt(file_path):
    """
    Load distortion coefficients from a text file.
    
    Parameters
    ----------
    file_path : str
        Path to a file.
    
    Returns
    -------
    tuple of floats and list
        Tuple of (xcenter, ycenter, list_fact).
    """
    if ("\\" in file_path):
        raise ValueError(
            "Please use a file path following the Unix convention")
    with open(file_path, 'r') as f:
        x = f.read().splitlines()
        list_data = []
        for i in x:
            list_data.append(float(i.split()[-1]))
    xcenter = list_data[0]
    ycenter = list_data[1]
    list_fact = list_data[2:]
    return xcenter, ycenter, list_fact