import java.io.File

package object nimrod {
  implicit def stringPimps(s : String) = new {
    def %(args : AnyRef*) = String.format(s,args:_*)
    def ls = new java.io.File(s).list()
  }
  implicit def filePimps(f : File) = new {
    def ls = f.list()
    def path = f.getCanonicalPath()
  }
  def set(key : String, value : String) {
    System.setProperty(key,value)
  }
  def get(key : String) = System.getProperty(key)
}

package object nimrod {
  implicit def stringPimps(s : String) = new {
    def %(args : AnyRef*) = String.format(s,args:_*)
    def ls = new java.io.File(s).list()
  }
  def set(key : String, value : String) {
    System.setProperty(key,value)
  }
  def get(key : String) = System.getProperty(key)
}

--- 
+++ 
@@ -1,7 +1,13 @@
+import java.io.File
+
 package object nimrod {
   implicit def stringPimps(s : String) = new {
     def %(args : AnyRef*) = String.format(s,args:_*)
     def ls = new java.io.File(s).list()
+  }
+  implicit def filePimps(f : File) = new {
+    def ls = f.list()
+    def path = f.getCanonicalPath()
   }
   def set(key : String, value : String) {
     System.setProperty(key,value)
Add some pimps for files
