Refactor.
Refactor.
Add Folder-Files Test Case.
Add referrer condition.