Added check if theres no scanned files