merge lines of file