I think the `target` parameter could be a resource reference, e.g. `File['C:/myfile']`, like `requires`, and that would eliminate the need for the `type` parameter.