added read swift file line by line