def open_file(filename):
    """Open a file.

    Args:
        filename: Absolute or relative file address.

    Returns:
        str: Returning data from the file.
    """
    with open(filename, "r") as file_obj:
        return file_obj.read()