Best practice to record creator of a file

Solution for Best practice to record creator of a file
is Given Below:

I want to only warn my users that they are overwriting a file if it wasn’t generated by my program.

I thought the best approach might be store another file like Package.docx.info which contains the date modified at which my program generated the file and if it s the same then allow overwriting.

I was wondering what the standard approach is for this kind of thing. My only concern is that my user could be confused by the additional file or if they move the file they might lose that information.

Is there a standard approach for storing metadata about a file on Windows?