File sync works with the server so files are now on the device and can edit them, but the main activity wont work for the gridVIew so need to work on that.