verifica filename not null