Don't use is_array on FileInfo