Bug fixed if destination file does not exist