Revert "Changing filenames from char* to const char*"

This reverts commit cad556891ba0fe1c2fdb8480b7e9e574557edf85.