I have a directory structure like this
Root\
DirA\
DirX\
File.aaa
File.bbb
File.ccc
File.ddd
DirB\
File.aaa
File.ccc
File.ddd
File.eee
File.fff
using python I want to get a list of all file types like this:
['aaa','bbb','ccc','ddd','eee','fff']