public static void checkOpen(FileSystem fs){
  checkArgument(fs.isOpen(),"file system must be open");
}

public static void checkOpen ( FileSystem fs ) { checkArgument ( fs . isOpen ( ) , "file system must be open" ) ; }
ensures that the given file system is open .
