Better filtering of source file types