fixed STRING_TOKEN and file_pattern