Added file utils to helpers - Adapted template funcs to use them - updated tests