(filesManager) Minor refactoring and update docs