added file output data in console