fixed issue that deleted files have not been added to the stream