Modify the File.Add method to return an error