Revert "add file frame work"

This reverts commit d19d9e70f22c396f5e95dcb7c37ccf9885e4d6ce.
Revert "Revert "add file frame work""

This reverts commit c54d809d3cae690ecc6d9121e52345db1ad30b8f.