Add gestion for errors when moving files
Pass info of target file that is going to be moved