Wrote function to join parts of a file into one netfile