I am in need of two file handling routines, 1 is to get the number of lines in a particular file, and 2 is to check if a file exists....Can anyone help!!??