Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerFromFile.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerFromFile.java	(revision 24290)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerFromFile.java	(revision 24291)
@@ -41,4 +41,17 @@
         // Generate tooltip text
         m_tooltiptext = m_file.getAbsolutePath();
+        
+        // Set the name of the layer as the base name of the file
+        setName(m_file.getName());
+        System.out.println( "name="+m_file.getName() );
+    }
+
+    protected String getFilePath() {
+        return m_file.getAbsolutePath();
+    }
+
+    public File getDefaultCalPath() {
+        File calFile = new File(m_file + CalibrationFileFilter.EXTENSION);
+        return calFile;
     }
 
