added more fs methods and async methods