Index: /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/geographic/KmlReaderTest.java
===================================================================
--- /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/geographic/KmlReaderTest.java	(revision 31989)
+++ /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/geographic/KmlReaderTest.java	(revision 31990)
@@ -35,6 +35,5 @@
     @Test
     public void testTicket10214() throws IOException, XMLStreamException, FactoryConfigurationError {
-        File file = new File(TestUtils.getRegressionDataFile(10214, "utf8_test.kml"));
-        try (InputStream is = new FileInputStream(file)) {
+        try (InputStream is = TestUtils.getRegressionDataStream(10214, "utf8_test.kml")) {
             NonRegFunctionalTests.testTicket10214(KmlReader.parseDataSet(is, null));
         }
@@ -47,6 +46,5 @@
     @Test
     public void testTicket7714() throws IOException, XMLStreamException, FactoryConfigurationError {
-        File file = new File(TestUtils.getRegressionDataFile(7714, "doc.kml"));
-        try (InputStream is = new FileInputStream(file)) {
+        try (InputStream is = TestUtils.getRegressionDataStream(7714, "doc.kml")) {
             NonRegFunctionalTests.testGeneric("#7714", KmlReader.parseDataSet(is, null));
         }
Index: /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/tabular/CsvReaderTest.java
===================================================================
--- /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/tabular/CsvReaderTest.java	(revision 31989)
+++ /applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/tabular/CsvReaderTest.java	(revision 31990)
@@ -63,6 +63,5 @@
     @Test
     public void testTicket10214() throws IOException, XMLStreamException, FactoryConfigurationError {
-        File file = new File(TestUtils.getRegressionDataFile(10214, "utf8_test.csv"));
-        try (InputStream is = new FileInputStream(file)) {
+        try (InputStream is = TestUtils.getRegressionDataStream(10214, "utf8_test.csv")) {
             NonRegFunctionalTests.testTicket10214(CsvReader.parseDataSet(is, newHandler("EPSG:4326"), null));
         }
@@ -75,6 +74,5 @@
     @Test
     public void testTicket8805() throws IOException, XMLStreamException, FactoryConfigurationError {
-        File file = new File(TestUtils.getRegressionDataFile(8805, "XXX.csv"));
-        try (InputStream is = new FileInputStream(file)) {
+        try (InputStream is = TestUtils.getRegressionDataStream(8805, "XXX.csv")) {
             NonRegFunctionalTests.testGeneric("#8805", CsvReader.parseDataSet(is, newHandler("EPSG:4326"), null));
         }
