addtion of lesser for array files