Forgotten changes to the log database script
Files closed on dispose