The company has filed for bankruptcy amid legal scrutiny over allegations its ATMs were used to facilitate fraud.