post-fix notation is generally a bad idea.  e.g. it's hard to tell what you're calling getAbsolutePath on here.  I prefer to fully paranthesis, plus in scala 2.11 this may actually just become a compile error.