Added some new methods to FileSystem