add MemoryStream and FileStream