If you have many files that need to be renamed and organised, try this simple program which solves that problem for you.
Add all the files which are the same type, in the repository folder, then run in terminal (you have to have gcc compiler installed!)
gcc prog.c
Then
./a.out