fix reading files in dmlitestorage