As SNB says the code is designed to run under Windows, but would have to change the path to the folder with the files - in code is G:\OF\ and I doubt that is the same way and where are your files.