remove capfile