A utility for determining file types