SOLUTION
If you got this message then merge files with asterix
gs -sDEVICE=pdfwrite -dBATCH -dNOPAUSE -dQUIET -dSAFER -sOutputFile=out.pdf *.pdf
If out.pdf is OK It means "your file path or file does not exist". Now is the message "undefinedfilename" already clear.