I\'m trying to scan a directory for files using this code:
result = [os.path.join(dp, f) for dp, dn, filenames in os.walk(PATH) for f in filenames if os.path.spli