AbstractView changes to support file as output