I have an image reading function which reads all files of a directory (including the files of sub(sub...)directory) and stores them in a list. The parameter \'root\' is the