WeWork files for bankruptcy amid office market downturn