Added handling of *.magnet files