def cat_file(session, path):
    """
    Get file content

    :param session: instance of Windows, which hold session to win machine
    :type session: winremote.Windows
    :param path: path to file
    :type path: str
    :returns: content of file
    :rtype: str
    """
    return session.run_cmd('type "%s"' % path)[1]
