<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_properties(properties_file='raw.properties.json', env=None, region=None):
 """Get contents of _properties_file_ for the _env_. Args: properties_file (str):
 File name of `create-configs` JSON output. env (str):
 Environment to read optionally. region (str):
 Region to get specific configs for. Returns: dict: JSON loaded Application properties for _env_. None: Given _env_ was not found in `create-configs` JSON output. """

    with open(properties_file, 'rt') as file_handle:
        properties = json.load(file_handle)

    env_properties = properties.get(env, properties)
    contents = env_properties.get(region, env_properties)
    LOG.debug('Found properties for %s:\n%s', env, contents)
    return contents