Implement async filesystem fns.
Implement sync filesystem fns.