[File/Text] read file from stream