I can't believe the 'file' option wasn't documented!