Adding solution for reading legacy files