use readFileSync instead of require to load file contents