fs functions are now public