split files and add np edge