Fixes file scan.

Jira issue: APPWTV-58
Merge pull request #38 from mlasak/APPWTV-58

Fixes file scan.