moved file initialization from card_init to pgp_init