Automated Template Based Report Writing