 
                                 do{
                                     try filemanager.removeItemAtPath(self.Libralypath+"/"+self.filenamefield.text!)
-                                    self.AAA(Inboxpath)
+                                    self.FileSaveAndMove(Inboxpath)
                                 }catch{
                                     print(error)
                                 }

                        alert.addAction(updateAction)
                        presentViewController(alert, animated: true, completion: nil)
                    }else{      //入力したファイル名が被ってない場合
                        self.AAA(Inboxpath)
                        self.dismissViewControllerAnimated(true, completion: nil)
                    }
                }


                                do{
                                    try filemanager.removeItemAtPath(self.Libralypath+"/"+self.filenamefield.text!)
                                    self.FileSaveAndMove(Inboxpath)
                                }catch{
                                    print(error)
                                }
