I have downloaded and included the FileIO UDF and tidied up the other $File to $File1 it is working but allways seems to falsley report a file as not existing