working with sql files