Fix to correctly replace with raw file