file reader api testing