corrected variables in the existing file check and success message for route creation