init capfile