file_io.rb: read_file_by_line now returns array of lines