Outputting image feature into txt files.