fixed too eager datafile deletion