Kamala D. Harris filed papers Wednesday to run for California attorney general in 2010 but said she would withdraw if incumbent Jerry Brown , a fellow Democrat , decides to run for reelection rather than for governor as widely expected .