Creates a GMT file containing all pathways in a provided directory