Remove dependence on "file" utility
Skip files that start with extremely long lines