new logic for some files

new logic for some files