Implemented delete and fixed problems with relative paths.