Simplify read and write