does it really need a full path to the file?  Just the filename + extension should be enough since we're looking at extension only.