removed redundant function in fileNavigator