:memo: Move comment above isFile check