Remove file common extension.
Modify configuration variable to uppercase.