Fixes to the file manager.