'Loads a file into memory.
:param file_name: The file name.'

def _load_torrent(self, file_name):

    infohash = file_name[:(-8)].encode('utf8')
    file_data = self.session.lm.torrent_store.get(infohash)
    if (not file_data):
        msg = (u'Torrent    not    in    store:    %s' % infohash)
        raise FileNotFound(msg)
    return (file_data, len(file_data))
