adding CloudFile class and making interactionWithJSON public