add filesystem library. add function, which expand file or dir