integrated with minor refactoring an emailed patch from development team at aquafold.com incorporating enhancements to file system handling