lang: resolve filename with resource_find first. closes #1234