Expanded documentation. Added test for rc files.