private static UmlDiagram tryRead( UmlDiagramRepository repository ) throws IOException {
		Path path = Paths.get( "diagram.xml" );
		if( Files.isReadable( path ) ) {
			return repository.read( Format.XML, path );
		} else {
			return null;
		}
	}