command file reading functioning, need to fix bug with argument array reallocing