Your code is the problem, if you want your program to reload a file, you have to write a program which will do that.
You can take three approaches
- apache reload approach, which keeps stating the file to see if it has changed
- scheduled approach, reload every 1/6/12/24 hours regardless
- manual, tell your sever program to reload now, http://example.com/admin/ReloadFoo?ItsBeenUpdate