tidy up
Create resultsDir if doesn;t exist
load keyword and doc