Thank you very much for the code, it has helped me a lot. only the only problem I have is with the input files... it doesn't open :(