Database Crashed and now opens as a document

I was working in my database, designing forms and querys. I decided to save a copy as a backup because it crashed earlier and lost some data. I saved the database from the menu bar at the top of the screen and gave it a different name. I went back to working and the original database crashed. I tried to reopen and all I got was what looked like a document for Writer. When I tried to open the backup file I just saved, I got the same result.

Has anyone else seen this behavior? Is there any fix for this??