delete capfile