Adding File.extname (ref #3)