rename filename extension to .cpp