- croak "Missing path of list file" unless($args{'listfile'});
- croak "Missing path of lockfile" unless($args{'lockfile'});
- $args{'timeout'} = 10 unless($args{'timeout'}); # Standard-Timeout
+ croak "Missing path to list file" unless($args{'listfile'});
+ $args{'lockfile'} = $args{'listfile'}.".lock" unless($args{'lockfile'}); # Default filename of lock file
+ $args{'timeout'} = 10 unless($args{'timeout'}); # Default timeout