abstracting File from Csv