Bug fix for handling of local, non-URL files