Updated upload/download file functions

Modified function uploadFileToServer() to include additional parameter
FileID
Modified function downloadFileFromServer() to check against FileID
instead of ID
Modified function copyReceipt() to only get receipt location and no
longer copy local files
Modified all functions that make calls to uploadFileToServer() to be
called after writing item history
Modified table schema for FileStorage to include FileID
Changed white spacing for some functions