Bug fix
Remove curle brackets due to their inconsistent use (either use them consistently or don't use them at all); add checks for file names before making a copy command