When is the right time to consider filing bankruptcy?