Set output filename based on input

Even if tjong is a good default :)
Update to output header file