Add extension to the file