change folder table name to file, and add type column to indicate this item is a file or folder