try {
boolean loadFromExistingFile = createPlainOsmDb(progress, readFile, addFilter);
if (recreateOnlyBinaryFile) {
mapFile = new File(workingDir, getMapFileName());
File tempDBMapFile = new File(workingDir, getTempMapDBFileName());
<BUG>mapConnection = getDatabaseConnection(tempDBMapFile.getAbsolutePath());
</BUG>
mapConnection.setAutoCommit(false);
try {
if (indexMap) {

try {
boolean loadFromExistingFile = createPlainOsmDb(progress, readFile, addFilter);
if (recreateOnlyBinaryFile) {
mapFile = new File(workingDir, getMapFileName());
File tempDBMapFile = new File(workingDir, getTempMapDBFileName());
mapConnection = (Connection) getDatabaseConnection(tempDBMapFile.getAbsolutePath(), mapDBDialect);
mapConnection.setAutoCommit(false);
try {
if (indexMap) {
