human
I wrote the below code

    def access_time(f):
        return os.stat(os.path.join(directory, f)).st_atime
    files = sorted(os.listdir(directory), key=access_time)
    file_name = os.path.join(directory, files[0])
    log.debug(u'removing    least    accessed    file:    %s', file_name)
    os.remove(file_name)

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def trim_dir(directory):