public void openLocalFile() {
File file = application.openLocalFile();
if( file != null ) {
try {
model = new NetworkInfoParser( new FileReader( file ) ).parse();
} catch ( NetworkInfoFormatException e ) {
application.showErrorDialog( "Wrong format", "Wrong input file format\n" + e );
} catch ( FileNotFoundException e ) {
application.showErrorDialog( "File not found", "File not found: " + file.getName() );
}