The U.S. operator of Forever 21 has filed for bankruptcy as the apparel company struggles to compete with online retailers.