I use streaming to write objects out to my QFile. In order for me to confirm the file is in fact one of my data files, and want the first 3 chars of the file to be "MDF&qu