Nicer handling of ignorable extensions (for FTP upload)
Remove old unused code