Added some bits to enumerate files

Doesn’t exactly work yet. In fact it’s completely broken.