fixed scanner to properly read deck text file