how to extract and process li ne