making parsing the files work better.
cleaning out old code.