public static void main (String[] args) throws IOException {
        TorrentMetaInfo tmi = readExampleFile();
        TorrentInfoSection tis = tmi.getInfoSection();

        System.out.printf("Comment: %s%n", tmi.getComment());
        System.out.printf("Created By: %s%n", tmi.getCreatedBy());
        System.out.printf("Date: %s%n", tmi.getCreationDate());
        System.out.printf("Announce: %s%n", tmi.getAnnounce());
        System.out.printf("Announce List: %s%n", tmi.getAnnounceList());
        System.out.printf("Info Hash: %s%n", tmi.getInfoHash());

        System.out.printf("Info Section:%n");
        System.out.printf("- Name: %s%n", tis.getName());
        System.out.printf("- Dir: %s%n", tis.getBaseDir());
        System.out.printf("- Pieces: %d (%d bytes each)%n", tis.getNumPieces(), tis.getPieceLength());

        System.out.printf("- File list:%n");
        for (TorrentFileInfo tfi : tis.getFiles()) {
            System.out.printf("  + %s (%d bytes)%n", tfi.getPath(), tfi.getLength());
        }

        System.out.printf("- Piece List:%n");
        List<Sha1Hash> hashes = tis.getPieceHashes();
        for (int i = 0; i < hashes.size(); i++) {
            System.out.printf("  + %s (%d bytes)%n", hashes.get(i), tis.getPieceLength(i));
        }

    }