switching from string(__FILE__) to __FILE__ in addressing the tmp map of sharedmem