Use file instead of request for testing Dom.