Added support for scan for files
The implementation for full paths still pending