<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def loadWeightsFromFile(self, filename, mode='pickle'):
 """ Deprecated. Use loadWeights instead. """

        Network.loadWeights(self, filename, mode)
        self.updateGraphics()