improved FileWriter&FileReader