extract Deck to file