add files in NecessaryFile