I'll give you advice: "File extension isn't so important, that data inside file" besides basing on file extension you won't ever know if file is this file, that you're thinking
The line I would need looks like this:
"value" "25"
I would also need to save this line into the cfg file after modifying, because other applications also use this file.