Detroit has filed for Chapter 9 bankruptcy protection, making it the largest city in U.S. history to do so.