Allow setting document filename