fullPathForFilename is smart enough to handle URLs