Updated file programming for 6.5 compatability