gui - adding files to database