always ensure the file extension maps to something that is registered with the browser