treat user-specified theme resource as filename