fixed small bugs
added config for RollingRandomAccessFile