[pergola] file_type attribute eliminated from write method