add method for FileType
new commands for readbase