Paths file processing

good point -- dicts aren't sorted, so you needed to put it in a list to sort -- once done, might as well use it.