Output method to throw InvalidArgumentException

Output method to throw exception if $this->html or $this->file is empty.

Debating on InvalidArgumentException or RuntimeException.