Delete old file reading code
Some debugging progress, got to a new bug.