remove_hardcoded_variable

remove_hardcoded_variable for file output extension