protected function resolveDatabaseImportPath($import_path = null)
    {
        if (!isset($import_path)) {
            $import_path = $this->doAsk(
                new Question(
                    'Input the path to the database file: '
                )
            );

            if (!file_exists($import_path)) {
                throw new \Exception(
                    'The path to the database file does not exist.'
                );
            }
        }

        return new \SplFileInfo($import_path);
    }