Unnecessary files are deleted