clean the files and add title