input file check return name if exists