Cleaning files and adding a last modification