else if (md && ![md.type isEqualToString:@"file"]) {...}