Use new findByExtension function