Same as above, for the whole file.