Updated BufferedReader example