Added thin.py to thin chain files.