Update configFunction.py

Changed config file back to text file. Removed deleteCache() function