I'm trying to work out the best/most efficient way to scan/iterate over a directory and read all its (text) files. The text files will be save files for a project I'm working on and they will contain various pieces of information.
Is there a way to read these files and store them as Strings, or arrays, etc. and then be able to perform operations (such as comparing one save file to the other)?
I'd appreciate any help at all. I seem to get stuck in various muddles when trying to design this. Thanks in advance.