parse file output and use connect to test against an open local port