Add platform independent end of line when splitting file into array

Added plateform specific end of line to avoid splitting error.