Fixed bug with downloading a friend's file. Added rollback framework.