Add some code for reading the mime cache