check if variable is nn_file is set