Store addresses to a file.