Updated the UpgradesManagers filewriter and reader.
Added permissions for writing and reading files into android manifest.
Updated filereader and writer in UpgradeManager to be way more awesome.