Added localization support to files. Introduced json format