open (FILE, ">>$db") or print STDERR "[$0] Could not open file! $!";