parse path argument as a string