pull paths as keys to cache. remove old print statement.