from pathlib import Path


def load_common_config(file: Path) -> str:
    """
    Load common part of OpenVPN config.

    Parameters
    ----------
    file
        Path to config file.

    Returns
    -------
        String containing common part of VPN config.
    """

    with open(file, 'r') as inf:
        cfg = inf.read()
    return cfg