Fix an error with MapFile().