Changed defaultProcessName to return only filename

The defaultProcessName function should return only the template filename without extension without folder paths (i.e. 'mytemplate' instead of 'templatefolder/mytemplate'). As this is the most common usage, it makes  sense to have this as the default behaviour.