I have txt input file: AAA BBB CCC DDD EEE FFF,FFF GGG
I want to copy every kth line of this file into output txt file. for example for k=2 it would be: BBB DDD FFF F