fixed document listing
disabled check for existing files, added rewriting of base path