Watch this Author's files
need to check that the path actually exists. You can not resolve the relative path for a file or directory that does not exist!
For example if im in /Users/myName and i call
your function returns
which is wrong. Should return either
No such file or directory or 
Great non-trivial example! I know OO already so this was great for syntax, organization etc. Helped me out a lot!
this function rocks!! worked very well 'right outta the box'. My only question: Is is possible to do a variable bandwidth smoothing using this function?
At any rate, nice work