a file name containing ":" is not valid on windows - consider allowing this to be changed from passing in another separator as an argument.