Re-add flatfile support

Praise be to the gods of permissions being read in order.