draw rect according to filecount