creating text file to store results