proper handling of storage path argument.