check exist file when error send