Why not just `isValid = [manager fileExistsAtPath:indexPath isDirectory:nil]`?