removed encoding for readFileSync