used file exists method in invoke parser