def Upload(self,directory,filename):
if self._isMediaFile(filename):<EOL><INDENT>return self._upload_media(directory,filename)<EOL><DEDENT>elif self._isConfigFile(filename):<EOL><INDENT>return self._update_config(directory,filename)<EOL><DEDENT>print("<STR_LIT>")<EOL>return False<EOL>
Uploads/Updates/Replaces files