Improve file stream.