refactor(proxy): extract fs proxy in separate file