changed regex for filenames of single template files. It takes just the filename, without file extension. e.g. "/template/main/index.hbs" --> "index"

the old regex didn't handle that well and only got the first folder "tempalte" as result