I have a class where I would like to instantiate the object in several ways depending on the arguments. When I pass a filepath to the function __init__ it should restore all parameters from the object saved as a pickle file. Is there any smart way to do so, something like self=load(...)