chainging files for different extension
changing file extension