fall back to loadResource if tempülate file does not exist