Was there a reason you want to explicitly seek to 0 before reading the file here?  I ask because this wasn't there previously.  Was there an issue you were running into?