*/
public static void write(File file, byte[] content) {
try {
new MakeFileCommand(file).execute();
if (file.isDirectory()) {
throw new IllegalStateException("file[" + file.getName() + "] is a directory!");
}
new WriteBytesToFileCommand(file, content).execute();