random work on files