Unnecessary file is deleted.