added callback to fs