Unnecessary files are deleted.