added file_stat to TextFileStreamer