Get file and revision from argv

Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>