Read the right file to get the metadata.