'Creates a new post processor with the given file path and optionally an NZB name.
file_path: The path to the file to be processed
nzb_name: The name of the NZB which resulted in this file being downloaded (optional)'

def __init__(self, file_path, nzb_name=None, process_method=None, is_priority=None):

    self.folder_path = ek(os.path.dirname, ek(os.path.abspath, file_path))
    self.file_path = file_path
    self.file_name = ek(os.path.basename, file_path)
    self.folder_name = ek(os.path.basename, self.folder_path)
    self.nzb_name = nzb_name
    self.process_method = (process_method if process_method else sickbeard.PROCESS_METHOD)
    self.in_history = False
    self.release_group = None
    self.release_name = None
    self.is_proper = False
    self.is_priority = is_priority
    self.log = u''
    self.version = None
    self.anidbEpisode = None
