make the filelist merge on the database