util funcs and passing texture by filename as arg