First working version of slimFiles.py