out = new FileOutputStream(changesOut);
if (changesIn != null && changesIn.exists()) {
// read the changes form a textfile provider
changesProvider = new TextfileChangesProvider(new FileInputStream(changesIn), packageControlFile);
} else {
// create an empty changelog
changesProvider = new ChangesProvider() {
@Override
public ChangeSet[] getChangesSets() {