public static void FeedDump1090Sdr() {
        Instant start = Instant.now();

        String inputFile = "D:\\charlottesville\\sdr.1363727373.txt";
        int aircraftAddress = 0xa82d60;

        Duration limit = Duration.ofMillis(10);
        Instant previous = Instant.MIN;

        try {
            SdrLogFileReader reader = new SdrLogFileReader(inputFile);

            Socket socket = new Socket("localhost", 30001);
            PrintWriter pw = new PrintWriter(socket.getOutputStream());

            SdrResponse sdrResponse;
            while ((sdrResponse = reader.read()) != null) {

                int[] data = sdrResponse.getData();
                try {
                    Adsb1090Message message = Adsb1090Message.parse(data);
                    if (message.getAddressAnnounced() == aircraftAddress) {
                        while (Duration.between(previous, Instant.now()).compareTo(limit) < 0) {
                            try {
                                Thread.sleep(10);
                            } catch (InterruptedException e) {
                                e.printStackTrace();
                            }
                        }
                        previous = Instant.now();
                        int[] originalMessage = message.getOriginalMessage();

                        System.out.print("*");
                        for (int p = 0; p < originalMessage.length; p++) {
                            System.out.print(String.format("%02x", originalMessage[p]));
                        }
                        System.out.println(";");

                        pw.print("*");
                        for (int p = 0; p < originalMessage.length; p++) {
                            pw.print(String.format("%02x", originalMessage[p]));
                        }
                        pw.println(";");
                    }
                } catch (ParseException e) {
                    //e.printStackTrace();
                }
            }

            reader.close();
            pw.close();
            socket.close();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }

        Instant end = Instant.now();
        Duration duration = Duration.between(start, end);
        System.out.println(duration);
    }