refactored user and file docs