         }
     }
     
-    func AAA(Inboxpath: String){
+    func FileSaveAndMove(Inboxpath: String){
         do{
             try filemanager.moveItemAtPath(Inboxpath+self.filename, toPath: self.Libralypath+"/"+self.filenamefield.text!)
 

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

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