better rc file handling