A new approach to content-based file type detection