Clean datasource file reading