changes to save data json and storing url and mamfileid - ROhith