cat give dirpath by argv and change file script read