work with database, remove files