add PYT_DIRECTORY as a new FileType