add "text" content type for files (closes #29)