updating get_raw_sequences - changing #lines (depreciated) to #each_line. & fixing a bug in get_raw_sequences