no editing when displayedFile = null