This has similar problems to the similar class in roxie - the file is likely to not be open yet.