I'm not even sure what a "reg prototype file"
is, much less how or why it is generated. The sample you gave vaguely resembles file definitions for a Red Hat-style RPM filespec file, but you're using Windows-style backslashes as filename separators mixed with Linux-style file attributes.
Could you explain further?
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.