Refactoring: add file.store_local()