verify the data directory exists for the result file