added option to include root_file

Signed-off-by: Adrian Matejov <a.matejov@centrum.sk>