Fix data file initializing process.