code to build company and pos dictionaries
removing temp files