delete
readlink -f not available on osx so do not try to use it