file paths from command line arguments and number of nodes