Partially fixed exception handling for FileManagerException.