updated FileReceiver to use config for tests