How to create new directory using file component?

See already made please check it out