now saves json files instead of clipboarding data