For json files you can just use require.