Added delay before calling the clear file