Change from $type to $id in FileType
Some FileType forms and routing fixes.