From http://stackoverflow.com/questions/15311978/converting-multiple-files-into-html-from-markdown