Finland's former Talvivaara files for bankruptcy