Generally speaking, no law firm pays fees after filing a lawsuit, because all law firms are commercial in nature and need to charge a certain fee first. If they really don't have the money to go to court, they can see if they meet the relevant conditions and apply for legal aid without charge.