Method treatment is done with a string instead of a file and a method name.