Added support to file.i as input to the tool

Signed-off-by: Herbert <herberthb12@gmail.com>