added support for passing json attributes file