def METHOD_NAME(self):
    '''
    Removes files and unmounts the tmpfs.
    '''
    if self.mem_path:
        self.log.info('Cleaning Up!!!')
        memory.set_thp_value("khugepaged/defrag", "0")
        memory.set_num_huge_pages(0)
        self.device.unmount()
        process.system('rm -rf %s' % self.mem_path, ignore_status=True)