def METHOD_NAME(self):
    """Check proper combination of input arguments.
    """
    # Check whether the input file was specified.
    if self.args.file is None:
        utils.print_error('No input file was specified')
        return False
    if not os.access(self.args.file, os.R_OK):
        utils.print_error('The input file %s does not exist or is not readable' % self.args.file)
        return False
    # Conditional initialization.
    if not self.args.output:
        self.output = self.args.file + '-unpacked'
    else:
        self.output = self.args.output
    if self.args.max_memory is not None:
        try:
            int(self.args.max_memory)
        except ValueError:
            utils.print_error('Invalid value for --max-memory: %s (expected an integer)'
                              % self.args.max_memory)
            return False
    # Convert to absolute paths.
    self.input = os.path.abspath(self.args.file)
    self.output = os.path.abspath(self.output)
    return True