public static AtomixConfig config(String... files) {
    return config(Thread.currentThread().getContextClassLoader(), Stream.of(files).map(File::new).collect(Collectors.toList()));
  }
public static AtomixConfig config ( String ... files ) { return config ( Thread . currentThread ( ) . getContextClassLoader ( ) , Stream . of ( files ) . map ( File :: new ) . collect ( Collectors . toList ( ) ) ) ; }
Returns a new Atomix configuration from the given file.
<p>
The configuration will be loaded from the given file and will fall back to {@code atomix.conf}, {@code
atomix.json}, or {@code atomix.properties} if located on the classpath.

@param files the file from which to return a new Atomix configuration
@return a new Atomix configuration from the given file