added nested loop to file signature scan