use ios::binary to open ifstream and ofstream to make & parse torrent