return needed files