Fixed doc and reading files