improved FileManaged::remove()