still missing some checks, but got a lot further
drwxr-xr-x - cards
-rw-r--r-- 12182 index.php
-rw-r--r-- 544 random.txt