Require fs reading code