initialize capfile