need to clear stat cache before getting the file size in dump file