restored fs methods