Added the hdr value mapping and file output.
Resolving merge conflicts.