control in filename as None