<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_raw_address(addr, section):
 """Converts the addr from a rva to a pointer to raw data in the file"""

        return addr - section.header.VirtualAddress + section.header.PointerToRawData