Are these all existing ways you can define resources with the current parser?
(also I think Resource[File. 'foo', 'bar] is likely Resource[File, 'foo', 'bar']