Real fix for PreModule close file