Improved preformace by havaing a single database conection.
Some files give error messsages, I'm still working on that.
Aparently it has to do with the encoding of the text.