write all files for ek during a short period every day