Final Answer:
Here is the Python function that fulfills the specified requirements:
```python
def read_csv(file_name):
data_dict = {}
with open(file_name, 'r') as file:
for line in file:
items = line.strip().split(',')
key = items[0]
values = items[1:]
data_dict[key] = values
return data_dict
```
Step-by-step explanation:
The `read_csv` function is designed to read a CSV file and convert its content into a dictionary. It takes a `file_name` as an argument, opens the file in read mode, and iterates over each line. For each line, it splits the content by ',' using the `split` method. The first item in each line is used as the key, and the rest of the items are stored as values in a list. The function then populates a dictionary where the keys are the first items in each line, and the corresponding values are stored as lists.
The `with open(file_name, 'r') as file` syntax is used to ensure proper handling of file resources, automatically closing the file when the block is exited.
This function is a versatile tool for reading CSV files and converting their content into a format that facilitates easy access and manipulation in Python. Users can integrate this function into their scripts for efficient processing of CSV data, making it a valuable addition to data handling and analysis workflows.