Refactored file so that it doesn't save the contents.
Changed print_to_binary to not print the trailing null in a utf8string