Separate history files by ports