Problem related to shell script

I am new in shell script.I want to write a shell script to read username and password from file and compare it with the username and password which is entered by the GUI application.

I don't see a problem with your shell script, because I don't see your shell script.

Please do not post questions with subjects like "Urgent..." (which I have removed from the subject). If you have an urgent question please post it here. If the question is homework-related, please post it here.

To your question. What have you tried so far?