gets base files from database, apparently correctly. much better error transmission from LP to CL