fixed an error in FileReader
some docstring corrections
updated documentation and improved some docstrings