added flux and error files