Templates have own directory, workingdirectoryhan

workingdirectoryhandler now ignores all .* when making wd