Hello!

Does anyone know how to make a program run when a certain type of file is downloaded?