added secure filename-option