def read_file(path: str) -> str:  # pragma: nocover
    """
    This function simply reads contents of the file. It's moved out to a function
    purely to simplify testing process.

    Args:
        path: File to read.

    Returns:
        content(str): Content of given file.
    """
    return open(path).read()