City snares $8M flood grant