Add file size check & output of cards.json