This needs as txt file for source of array as input