Check file signature.