fixed FILENAME_CHAR contstant reference