. "'" . $target_file . "')"

mancava target davanti a file, oggi proprio non ci sono...