use fileEntry.toURL to get extension