BufferedStream shows better performance than normal stream