I added a boolean return value to the checkout method. If false is returned this means that not all obsolete files could be deleted and getToBeDeleted() contains the path names of the remaining files.