Removed some code from filemanager