Bulletproof Location.file against NULL filename