File.Stat converted to struct