Simpler read function.