implement resolveLocalFileSystemURL