Simplify adding files to chain. Not great. Need to use boost instead.
 Fix HLT emulator