While you may have difficulty suing the general contractor (there are some circumstances where it is possible), you can file a lawsuit against the subcontractor.