other modif to accept files list