public static function fromFile($filename) { $collection = Collection::fromFile($filename); return $collection->records->toArray()[0]; }