Thanks. Can you post a quick example? I am not familiar with filelength() and fileno() functions. Kuphryn