Fix to ensure filemanager field also works in subdirectory