scans dir files