When there's a flat file target on a mapping, one of the first things the DTM process does is verifying the target directory exists and creates an empty file.
If no rows meet the condition in your filter, that empty file will remain in the target directory.
That's the expected behavior.
Hope that helps,
Is your question resolved? If so, please mark this as resolved.
That may help other users in the future.