{throw new RuntimeException(filePath + " file access error.",e);}
Document document = file.getDocument();
// 2. Named objects extraction.
Names names = document.getNames();
if(names == null)
{System.out.println("No names dictionary.");}
else
{
System.out.println("Names dictionary found (" + names.getContainer().getReference() + ")");
NamedDestinations namedDestinations = names.getDestinations();
if(namedDestinations == null)
{System.out.println("No named destinations.");}
else
{
System.out.println("Named destinations found (" + namedDestinations.getContainer().getReference() + ")");