Added file field signature mapping helper

Updated mongoose code tpl to have resource pool registration (with
default signatures).