offline file support

offline file support