I've worked on several projects at my company where writing scripts like this are needed. Formatting text into flat files and CSVs is a simple process for me to accomplish. However, it's important to me that I honestly explain what can, or even can't be done. Therefore, I should mention that if you are trying to retrieve "modified by" information from files in a Windows files system, that may be difficult and probably impossible due to that kind of information not being included in current file system attributes built for Windows (such as NTFS, exFAT, FAT32, and FAT).
If you'd like to look into the validity of that, you may want to search the web for vbscript code that tries to find the modified by information for a file, you will likely not come up with solutions for doing that.
The rest of the criteria you mentioned in your post seems like it can be accomplished easily with my knowledge and skill. I hope this works out well for your intended purpose! Please feel free to reach out to me for more information, as needed.