Added parameters to fileTransportCallback.