@startuml (*) --> "Get path to the file to import" --> if "File exists and is valid XML" --> [Yes] "Unserialize file" --> if "Error of name, type or order during unserialization" --> [Yes] "Display error message" else --> [No] "Create related objects in DB" --> (*) endif else --> [No] "Display error message" --> (*) endif @enduml