Modified main.js to read files synchronously to avoid linux error that referred to something like too many files open.