ron nyswaner 's script plots the film as a legal suspense story , using courtroom scenes to resolve hanks 's unfair-dismissal suit against the firm that has soon pushed him off the payroll and torn up partnership promises .