added file type filter for format-on-save