handle the fs module