I'd say 99% of the time, the first 10 bytes would be enough to know the file type.