I see two things:
  1. You are mixing QFile operations with QDataStream operations
  2. You are writing down a list of arrays, but you are reading only one array