Library and binary for concatenating files using a template that includes other files