Testing if a whole file is parsed