Filter out invalid source files