Which program wrote a file?
Is there a software for windows that can use the winapi or something to detect folder access or file accesses by that application?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
You can use Process Monitor to view/log file/folder activity and set up filters to narrow down the focus to just the files/folders/processes you are interested in.