public void loadNetworkFile(String filename, EntityFactory entityFactory) {
        BufferedReader bufferedReader = null;
        try {
            bufferedReader = new BufferedReader(new FileReader(filename));
            String strLine;
            while ((strLine = bufferedReader.readLine()) != null) {
                String[] split = strLine.split(",");
                Host host = entityFactory.newHost(split[0], Integer.valueOf(split[1]));
                split[2] = split[2].trim();
                host.setHostPath((split[2].isEmpty() ? "" : split[2]));
                host.setUUID(UUID.fromString(split[4]));
                network_.add(host);
            }
        } catch (IOException e) {
            logger_.error("{}", e);
            System.exit(1);
        } finally {
            IOUtilities.closeQuietly(bufferedReader);
        }
    }