[feature] implemented read_all_file
[bugfix] prevent some irregal input for getWordList