how to adapt a play to film