fix oops bug with bad file logic. heh