Added sanity checks to make sure at least one target file was specified