change list of files logic