Add comments to fileutil.py