without require fs
with fs