Added DuplicateBehavior enum

To control app logic in case file with same name already exists
Used DuplicateBehavior (partially for now)