Fixed errors in conversion file, added example input, works correctly for single level cache