Deleting those files which are not necessary