improve parsing of filename passed to ginkgo generate