<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def problem_glob(extension='.py'):
 """Returns ProblemFile objects for all valid problem files"""

    filenames = glob.glob('*[0-9][0-9][0-9]*{}'.format(extension))
    return [ProblemFile(file) for file in filenames]