E-commerce firm Boxed Inc files for bankruptcy, eyes software unit sale