US brand Tupperware has filed for bankruptcy as it struggles to survive in the face of sliding sales.