def METHOD_NAME(vhost_path: str) -> Tuple[str, str]:
    """Splits an Augeas path into a file path and an internal path.
    After removing "/files", this function splits vhost_path into the
    file path and the remaining Augeas path.
    :param str vhost_path: Augeas virtual host path
    :returns: file path and internal Augeas path
    :rtype: `tuple` of `str`
    """
    # Strip off /files
    file_path = vhost_path[6:]
    internal_path: List[str] = []
    # Remove components from the end of file_path until it becomes valid
    while not os.path.exists(file_path):
        file_path, _, internal_path_part = file_path.rpartition("/")
        internal_path.append(internal_path_part)
    return file_path, "/".join(reversed(internal_path))