Break file magic into its own test