added functions to util.py including getdepth, collectTranslations.
prepared to upload files