get input path from argv