handled delimeter in BaseStream and added FileStream
fixed typo