added random file generator