My Database files have the correct format and I get the error while trying to use your script?
Msg 213, Level 16, State 7, Line 1
Insert Error: Column name or number of supplied values does not match table definition.
Msg 3013, Level 16, State 1, Line 1
Is it possible to use sp_MSforeachdb?