db table parameter, filter by link, remove unused files