Document name inversion