Slight subtlety here - this method is better being: MCStringRef GetFilename(). This should just return the m_file_name field, without increasing the reference count. This saves using AutoStringRef's in the callers.