(--------)
You use the old Activity syntax. With the new syntax (as is not necessary):
@startumlstart:Activity1;if (check parameters) then (true) :Parse file;else (false -> exit with error code) stopendifstop@enduml