Add method File.getExtension