def METHOD_NAME(self, job_file):
    params = self.specs
    # Save current location as PBS_O_WORKDIR
    params['pbs_o_workdir'] = os.getcwd()
    # Create regexp object of no_copy_pattern
    if params.isValid('no_copy_pattern'):
        # Match no_copy_pattern value
        pattern = re.compile(params['no_copy_pattern'])
    else:
        # Match nothing if not set. Better way?
        pattern = re.compile(r'')
    # Copy files (unless they are listed in "no_copy")
    for file in os.listdir('../'):
        if os.path.isfile('../' + file) and file != job_file and \
           (not params.isValid('no_copy') or file not in params['no_copy']) and \
           (not params.isValid('no_copy_pattern') or pattern.match(file) is None):
            shutil.copy('../' + file, '.')
    # Copy directories
    if params.isValid('copy_files'):
        for file in params['copy_files'].split():
            print file
            if os.path.isfile('../' + file):
                shutil.copy('../' + file, '.')
            elif os.path.isdir('../' + file):
                shutil.copytree('../' + file, file)