Add new function for making niftifile describing fiber endpoints