i think we got our requirement wrong...i want the program to detect whether the file needs to be encrypted or decrypted..