This was one of the existing functions from the example code.

I've noted the limitations of these (i.e. this won't actually properly handle mkdir /folderName - fires an exception, but am planning to fix in the future so I can make a start on Git.