public void getImportLines( String fileName ) {

        File exportFile = new File( fileName );
        BufferedReader br = null;

        try {

            br = new BufferedReader( new FileReader( exportFile ) );
            String line = "";

            // find start of protected imports
            while ( !line.startsWith( "import" ) ) {
                line = br.readLine();
                if ( line == null )
                    break;
            }

            while ( line != null ) {

                addImport( line );
                line = br.readLine();

            }

            br.close();

        } catch ( FileNotFoundException e ) {
            // Ignored if file doesn't exist.

        } catch ( IOException e ) {
            e.printStackTrace();
        }

    }