private static List<String> loadLinesFromFile( String pathToFile )
    {
        try {
            List<String> lineList = new ArrayList<String>();
            FileInputStream  in = new FileInputStream( pathToFile );
            StringBuffer  line = new StringBuffer();
            while ( true )
            {
                int  data = in.read();
                if ( -1 == data )
                {
                    if ( 0 < line.length() ) { lineList.add( line.toString() ); }
                    break;
                }
                char  c = (char) data;
                if ( '\r' == c )
                {
                    // do nothing
                }
                if ( '\n' == c )
                {
                    lineList.add( line.toString() );
                    line.setLength( 0 );
                }
                else {
                    line.append( c );
                }
            }
            in.close();
            return lineList;
        }
        catch ( FileNotFoundException e )
        {
            throw new RuntimeException( e );
        }
        catch ( IOException e )
        {
            throw new RuntimeException( e );
        }
    }