rm old files and add setting type in list