add extension to file