handle single file as inputPath