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