Read method changed to get only the file paths.
If there are too many images, the memory can quickly become overloaded. For this reason, only the file paths are determined in the first step.
If there are too many images, the memory can quickly become overloaded. For this reason, only the file paths are determined in the first step.