limit the file Dstream size for each batch