Added auto detection for mozilla files