BufferedReader and BufferedWriter examples