intent: Get a filtered list of files in a directory
rewritten_intent: create a list `files` containing all files in directory '.' that starts with numbers between 0 and 9 and ends with the extension '.jpg'
snippet: files = [f for f in os.listdir('.') if re.match('[0-9]+.*\\.jpg', f)]