<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def drafts(files, stack):
    "Filter out any files marked 'draft'"
    for path, post in list(files.items()):
        if post.get('draft'):
            del files[path]