Load files using generator