Now automatically deletes link to deleted files