write boris to a file.