default output file

if output entry doesn't exist user template name as output filename