saving gene files into output folder