outputDataToFile.m added