compatibility to get input file from sys args