Tidying IO routine for reaction diffusion for parallel computations