return line_offset instead of line content
use try-except instead of use keys() to decide if the word is in the word table
add fp.close function
use fp instead of 'open'
some benchwork works
ignore test directory in folder