*Added ByteArrayOutputStream in order to be able to download a file and write the output directly to the user's hdd *clean up of code basis
*Added ByteArrayOutputStream in order to be able to download a file and write the output directly to the user's hdd
*clean up of code basis