Refactoring the net filemanager class