public static String decryptFile(File f)
	{
		byte[] encryptedData;
		String decryptedData;
		
		encryptedData = Decryption.readFromFile(f);//read in from database file and store in encryptedData.
		String password = SellerBackEnd.getPassword();
		SellerBackEnd.setSymmetricKey(Decryption.toSHA(password));//read in and save symmetric key
		decryptedData = Decryption.decryptByteArray(encryptedData);//decrypt data using symmetric key
		
		return decryptedData;
	}