Index: trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java	(revision 4246)
+++ trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java	(revision 4247)
@@ -18,6 +18,6 @@
 import java.util.LinkedList;
 import java.util.List;
-
 import java.util.Set;
+
 import javax.swing.JFileChooser;
 import javax.swing.JOptionPane;
@@ -198,5 +198,5 @@
 
             if (chosenImporter != null) {
-                // The importer was expicitely chosen, so use it.
+                // The importer was explicitly chosen, so use it.
                 List<File> filesNotMatchingWithImporter = new LinkedList<File>();
                 List<File> filesMatchingWithImporter = new LinkedList<File>();
@@ -262,8 +262,8 @@
                         failedFiles.removeAll(successfullyOpenedFiles);
                         for (File f : successfullyOpenedFiles) {
-                            fileHistory.add(f.getPath());
+                            fileHistory.add(f.getCanonicalPath());
                         }
                         for (File f : failedFiles) {
-                            failedAll.add(f.getPath());
+                            failedAll.add(f.getCanonicalPath());
                         }
                     }
