Save your files according to file extension.