def tsv_unescape(x):
    """
    Unescape strings in the TSV file.
    Escaped characters include:
    - newline (0x10) -> backslash + n
    - vertical bar (0x7C) -> backslash + p
    - backslash (0x5C) -> backslash + backslash

    Parameters
    ----------
    x : ``str``

    Returns
    -------
    ``str``
    """
    return x.replace(r'\n', '\n').replace(r'\p', '|').replace('\\\\', '\\')