File gpxFolder = new File(preferenceHelper.getGpsLoggerFolder());
if (!gpxFolder.exists()) {
gpxFolder.mkdirs();
}
LOG.debug("Creating gpslogger_test.xml");
<BUG>File testFile = new File(gpxFolder.getPath(), "gpslogger_test.xml");
</BUG>
try {
if (!testFile.exists()) {
testFile.createNewFile();

File gpxFolder = new File(preferenceHelper.getGpsLoggerFolder());
if (!gpxFolder.exists()) {
gpxFolder.mkdirs();
}
LOG.debug("Creating gpslogger_test.xml");
final File testFile = new File(gpxFolder.getPath(), "gpslogger_test.xml");
try {
if (!testFile.exists()) {
testFile.createNewFile();
