replace separate files with one