define require for fs