got the open function to work properly, still needs testing. Also fixed the way the save program reads the file name and path and splits the string up. Also the variable used for the index value in the filename global variable