fixes to database files , no path created for ones that lie outside survey footprint