adding a new FileValidator

Signed-off-by: Alfredo Deza <alfredo@deza.pe>