try to read torrent file char-by-char instead of using fread() to read entire file into a string