change filename to cstring