Defaulting database extension

If none given on scan, extract tabs if they are typed in manually.