Micro Focus interview question

Find Server name from a text file using any language.