file can only be removed if present