Added a function to read clustered data.