class ChangeScriptCreator {

    public File createScript() throws IOException {
        final String newScriptFileName = getChangeScriptFileName();
        final String fullScriptPath = scriptDirectory + File.separator + newScriptFileName;

        final File newChangeScriptFile = new File(fullScriptPath);
        if (newChangeScriptFile.createNewFile()) {
            return newChangeScriptFile;
        } else {
            throw new IOException("Unable to create new change script " + fullScriptPath);
        }
    }

    public  ChangeScriptCreator();

}