update frontend: don't show filesize if file is a folder