Don't read IDE files.
Restructured and cleaned up code based on conversation in IRC with @anak1n0 .