Implement the `read-data` utility