Concatenate generation db files

The python is pretty bad, But It Works™.