add getFileSystem api
auto open created file
add validation