Generate and verify random files