chrome.filesystem сохранить файл без указания местоположения

Могу ли я сохранить файл в произвольном месте (/home/Users/user1/) с именемfile1.txt.

У меня есть этот код:

chrome.fileSystem.chooseEntry({type:'openDirectory'}, function(entry) {
    chrome.fileSystem.getWritableEntry(entry, function(entry) {
        entry.getFile('file1.txt', {create:true}, function(entry) {
            entry.createWriter(function(writer) {
                writer.write(new Blob(['Lorem'], {type: 'text/plain'}));
            });
        });
    });
});

С помощью этого кода я получаю приглашение, поэтому мне нужно выбрать каталог, но я хочу без этого, я хочу объявить местоположение каталога в настройках.

Любое решение для этого?

РЕДАКТИРОВАТЬ

Согласно принятому ответу от @Xan:

// set location
$('#location_field').on('click', function(){
    chrome.fileSystem.chooseEntry({type:'openDirectory'}, function(entry) {
        chrome.storage.sync.set({'print_location': chrome.fileSystem.retainEntry(entry)});
    });
});

// get location 
var print_location = null;
chrome.storage.sync.get({
    print_location: null
}, function(items){
    chrome.fileSystem.restoreEntry(items.print_location, function(entry){
        print_location = entry;
    });
});

// save file
chrome.fileSystem.getWritableEntry(print_location, function(entry) {
    entry.getFile('file1.txt', {create:true}, function(entry) {
        entry.createWriter(function(writer) {
            writer.write(new Blob(['Lorem'], {type: 'text/plain'}));
        });
    });
});

Ответы на вопрос(1)

Ваш ответ на вопрос