A prototype of FileReceiver.