added cleanGraphRetainingOnlyFriendsWithJsonFile