file input: initialize from config file

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>