minor null check to prevent exception in file table