Finished file sharing and cleaned up sync process a little bit.