replaced code that created and read from node-element mapping file with another dictionary