Core Scientific files for bankruptcy as crypto winter bites