Collection of new files and removal of unused files