Properly filtering out non-process files.