committing code for the function open_files()
tagger is mostly working now.