Changed FTLDat to allow opening dats in read-only mode