accept 'file:' protocol; cleanup