added fileread write