ensure recursive directory is made
update exception reporting to catch and report exception