Added a check when supplying a directory check - this will throw a StencilDirectoryNotFoundException