Achieve read function.