New FileHandling Code

This is in the form of an .mqh file, but you may want to put this code
directly in your EA because it will be custom for each EA.