Turn pnget into a truely generic read tool.