Read lines directly from file