Uhmm, no. Il comando file ti dice semplicemente cos'è il file che gli hai passato. Per i file binari si basa sul "magic number".