If we have $file better check it?

Signed-off-by: emanuele <emanuele45@gmail.com>