minor changes to ensure complex directive test files will run and produce filees
added better error handling for instances where directive file is referenced that does not exist