I think this works

I was calling readFiles twice >.<