The company’s court filing seems to suggest that it has been financially suffering for a while now