need to fix file input

Signed-off-by: Stefan Venz <ikstream86@gmail.com>