adding random file

added random function and has same name