loading wrapper from file