Impl of store operations for both absolute and relative files.