how do i tell a file from directory in python?,"current, dirs, files = next(os.walk('/path'))"