Generic library to import dto from arbitrary file