Remove the root when getting the digest

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Some improvements at the deletion process

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Re-organize the file tests

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Fixed deletion of files not in parent

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Add the deleteFile test

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>