<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def directory_files(path):
 """Yield directory file names."""


    for entry in os.scandir(path):
        if not entry.name.startswith('.') and entry.is_file():
            yield entry.name