Get relative filepaths of files in a directory, and sub-directories, with the given extension.
str
Extension name (e.g. ‘txt’, ‘rst’). Extension comparison is case-insensitive.
Root directory. Current working directory by default.
list
File paths, relative to root_dir, with the given extension.
root_dir