Replaced FilePayload with ByteSourcePayload

FilePayload is deprecated and has been replaced with ByteSourcePayload.