some fixes for the keyfile handling
update path to deleted files