add require for fs usage