os.listdir includes hidden files in its output, as they are standard files from the OS perspective.