```python
def dict_filter(dict, n):
  """
  Filters a dictionary to keep only items where the value is greater than n.

  Args:
    dict: The input dictionary.
    n: The threshold value.

  Returns:
    A new dictionary containing only the key-value pairs where the value > n.
  """
  filtered_dictionary = {}
  for key, value in dict.items():
    if value > n:
      filtered_dictionary[key] = value
  return filtered_dictionary
```