the dbase part is moved to another file to be able to use sql or file (new files)