A prototype of FileReceiver.

IMHO unnecessary complexity where it is not needed.