Check file signature