file read from stream and |seperator