Yes, I think the isSubFile() call could be removed with no issues.