updated file component
fixed bug when dir not exists
updated file component
Fixed behaviors not work