ResourceW, Sink, and file.
Start generalized version.