correct output file name of fetching ruby